package com.example.simin_manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @description:
 * @author: panpan
 * @time: 2025/9/14
 */
@Data
@TableName("sys_dept")
public class SysDept {
    @TableId(type = IdType.INPUT) // 改成手动输入
    private Long id;
    private String name;
    private Long leaderId; // 组长ID

}
